interface Config {
  adminUrl: string;
}

interface ConfigMap {
  development: Config;
  production: Config;
}


const config: ConfigMap = {
  development: {
    adminUrl: 'http://localhost:8888'
  },
  production: {
    adminUrl: 'http://8.138.84.241:8082'
  }
};

export default config[process.env.NODE_ENV as keyof ConfigMap || 'development'];